package com.ruoyi.yanjing.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 劳保用品发放记录信息对象 c5_labor_protection_items
 * 
 * @author whz
 * @date 2024-12-04
 */
public class LaborProtectionItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 劳保用品名称 */
    @Excel(name = "劳保用品名称")
    private String itemName;

    /** 发放数量 */
    @Excel(name = "发放数量")
    private Long quantity;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validUntil;

    /** 发放时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发放时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issueDate;

    /** 发放人 */
    @Excel(name = "发放人")
    private String issuerPersonName;

    /** 接收人 */
    @Excel(name = "接收人")
    private String recipientPersonName;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String laborProtectionItemsExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String laborProtectionItemsExtra2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String laborProtectionItemsExtra3;

    /** 备用字段4 */
    @Excel(name = "备用字段4")
    private String laborProtectionItemsExtra4;

    /** 备用字段5 */
    @Excel(name = "备用字段5")
    private String laborProtectionItemsExtra5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updateName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String accountId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setValidUntil(Date validUntil) 
    {
        this.validUntil = validUntil;
    }

    public Date getValidUntil() 
    {
        return validUntil;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }
    public void setIssuerPersonName(String issuerPersonName) 
    {
        this.issuerPersonName = issuerPersonName;
    }

    public String getIssuerPersonName() 
    {
        return issuerPersonName;
    }
    public void setRecipientPersonName(String recipientPersonName) 
    {
        this.recipientPersonName = recipientPersonName;
    }

    public String getRecipientPersonName() 
    {
        return recipientPersonName;
    }
    public void setLaborProtectionItemsExtra1(String laborProtectionItemsExtra1) 
    {
        this.laborProtectionItemsExtra1 = laborProtectionItemsExtra1;
    }

    public String getLaborProtectionItemsExtra1() 
    {
        return laborProtectionItemsExtra1;
    }
    public void setLaborProtectionItemsExtra2(String laborProtectionItemsExtra2) 
    {
        this.laborProtectionItemsExtra2 = laborProtectionItemsExtra2;
    }

    public String getLaborProtectionItemsExtra2() 
    {
        return laborProtectionItemsExtra2;
    }
    public void setLaborProtectionItemsExtra3(String laborProtectionItemsExtra3) 
    {
        this.laborProtectionItemsExtra3 = laborProtectionItemsExtra3;
    }

    public String getLaborProtectionItemsExtra3() 
    {
        return laborProtectionItemsExtra3;
    }
    public void setLaborProtectionItemsExtra4(String laborProtectionItemsExtra4) 
    {
        this.laborProtectionItemsExtra4 = laborProtectionItemsExtra4;
    }

    public String getLaborProtectionItemsExtra4() 
    {
        return laborProtectionItemsExtra4;
    }
    public void setLaborProtectionItemsExtra5(String laborProtectionItemsExtra5) 
    {
        this.laborProtectionItemsExtra5 = laborProtectionItemsExtra5;
    }

    public String getLaborProtectionItemsExtra5() 
    {
        return laborProtectionItemsExtra5;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setAccountId(String accountId) 
    {
        this.accountId = accountId;
    }

    public String getAccountId() 
    {
        return accountId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemName", getItemName())
            .append("quantity", getQuantity())
            .append("validUntil", getValidUntil())
            .append("issueDate", getIssueDate())
            .append("issuerPersonName", getIssuerPersonName())
            .append("recipientPersonName", getRecipientPersonName())
            .append("laborProtectionItemsExtra1", getLaborProtectionItemsExtra1())
            .append("laborProtectionItemsExtra2", getLaborProtectionItemsExtra2())
            .append("laborProtectionItemsExtra3", getLaborProtectionItemsExtra3())
            .append("laborProtectionItemsExtra4", getLaborProtectionItemsExtra4())
            .append("laborProtectionItemsExtra5", getLaborProtectionItemsExtra5())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("accountId", getAccountId())
            .toString();
    }
}
